#ifndef SPI_DRIVER_H
#define SPI_DRIVER_H

#include "stdint.h"

void SPI2_init(void);
void SPI1_init(void);
void SPI0_init(void);
void SendByte(unsigned long int  byte);
uint8_t SPI2_ReadWrite(uint8_t writedat);
uint8_t SPI1_ReadWrite(uint8_t writedat);
uint8_t SPI0_ReadWrite(uint8_t writedat);
uint8_t SPI0_Read(void);
uint8_t SPI1_Read(void);


    


#endif

